package com.bdq.common.enums;

import lombok.Getter;

/**
 * @author malei
 * @date 2024-05-10 15:08
 */
@Getter
public enum RegionTypeEnum {

    /**
     * 国
     */
    COUNTRY(1, "国"),

    /**
     * 省
     */
    PROVINCE(2, "省"),

    /**
     * 市
     */
    CITY(3, "市"),

    /**
     * 区县
     */
    DISTRICT(4, "区县"),

    /**
     * 乡镇街道
     */
    TOWNSHIP(5, "乡镇街道"),

    /**
     * 村社区
     */
    VILLAGE(6, "村社区");

    private final int code;
    private final String desc;

    RegionTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}

